package com.byzk.p2p.admin.score.vo;

import java.util.Date;

import com.byzk.p2p.admin.base.util.PageUtil;

/**
 * 积分流水
 * 
 * @author suker.zhou
 *
 */
public class ScoreRecordVo extends PageUtil {

	private Integer id; //
	private Integer userId;// userid
	private String optType;// 操作类型 (in表示收入积分，out表示支出积分)
	private Integer amount;// 积分数量
	private String way;// 积分途径
	private Date createTime;// 创建时间
	public String userName;// 用户名
	private Integer objectId;// 对象id（积分兑换即为积分兑换购买id；其他则为其他对象id）
	private Integer score;//积分总数
	private Integer usableScore ;//可用的积分
	private Integer alreadyScore;//已用的积分
	private Date startTime ; //开始时间
	private Date endTime;//结束时间

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getOptType() {
		return optType;
	}

	public void setOptType(String optType) {
		this.optType = optType;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getWay() {
		return way;
	}

	public void setWay(String way) {
		this.way = way;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getObjectId() {
		return objectId;
	}

	public void setObjectId(Integer objectId) {
		this.objectId = objectId;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Integer getUsableScore() {
		return usableScore;
	}

	public void setUsableScore(Integer usableScore) {
		this.usableScore = usableScore;
	}

	public Integer getAlreadyScore() {
		return alreadyScore;
	}

	public void setAlreadyScore(Integer alreadyScore) {
		this.alreadyScore = alreadyScore;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
}
